package com.lwb.ztx.lives.view.content;

import com.lwb.ztx.R;
import com.lwb.ztx.bean.LiveBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by luweibin on 2016/6/12.
 */
public class LiveBeanFactory {
    public static List<LiveBean> getLiveBeans() {
        List<LiveBean> beans = new ArrayList<>();
//        beans.add(getLiveBean(R.drawable.tv_cctv_1,"CCTV-1","/live.aishang.ctlcdn.com/00000110240001_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_2,"CCTV-2","/live.aishang.ctlcdn.com/00000110240002_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_3,"CCTV-3","/live.aishang.ctlcdn.com/00000110240259_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_4,"CCTV-4","/live.aishang.ctlcdn.com/00000110240005_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_5,"CCTV-5","/live.aishang.ctlcdn.com/00000110240260_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_6,"CCTV-6","/live.aishang.ctlcdn.com/00000110240261_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_7,"CCTV-7","/live.aishang.ctlcdn.com/00000110240009_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_8,"CCTV-8","/live.aishang.ctlcdn.com/00000110240262_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_9,"CCTV-9","/live.aishang.ctlcdn.com/00000110240014_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_10,"CCTV-10","/live.aishang.ctlcdn.com/00000110240015_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_11,"CCTV-11","/live.aishang.ctlcdn.com/00000110240016_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_12,"CCTV-12","/live.aishang.ctlcdn.com/00000110240017_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_13,"CCTV-13","/live.aishang.ctlcdn.com/00000110240126_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_14,"CCTV-14","/live.aishang.ctlcdn.com/00000110240085_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cctv_15,"CCTV-15","/live.aishang.ctlcdn.com/00000110240086_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_hun,"湖南卫视","/live.aishang.ctlcdn.com/00000110240008_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_cq,"重庆卫视","/live.aishang.ctlcdn.com/00000110240012_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_js,"江苏卫视","/live.aishang.ctlcdn.com/00000110240048_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_ah,"安徽卫视","/live.aishang.ctlcdn.com/00000110240024_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_ln,"辽宁卫视","/live.aishang.ctlcdn.com/00000110240057_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_hub,"湖北卫视","/live.aishang.ctlcdn.com/00000110240043_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_tj,"天津卫视","/live.aishang.ctlcdn.com/00000110240072_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_ly,"旅游卫视","/live.aishang.ctlcdn.com/00000110240059_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_gd,"广东卫视","/live.aishang.ctlcdn.com/00000110240036_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_gx,"广西卫视","/live.aishang.ctlcdn.com/00000110240037_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_bj,"北京卫视","/live.aishang.ctlcdn.com/00000110240026_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_hb,"河北卫视","/live.aishang.ctlcdn.com/00000110240040_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_df,"东方卫视","/live.aishang.ctlcdn.com/00000110240011_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_zj,"浙江卫视","/live.aishang.ctlcdn.com/00000110240013_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_dn,"东南卫视","/live.aishang.ctlcdn.com/00000110240029_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_gz,"贵州卫视","/live.aishang.ctlcdn.com/00000110240038_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_nmg,"内蒙古卫视","/live.aishang.ctlcdn.com/00000110240060_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_sx,"山西卫视","/live.aishang.ctlcdn.com/00000110240065_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_hlj,"黑龙江卫视","/live.aishang.ctlcdn.com/00000110240042_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_jl,"吉林卫视","/live.aishang.ctlcdn.com/00000110240046_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_jx,"江西卫视","/live.aishang.ctlcdn.com/00000110240049_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_hn,"河南卫视","/live.aishang.ctlcdn.com/00000110240041_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_sd,"山东卫视","/live.aishang.ctlcdn.com/00000110240064_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_sc,"四川卫视","/live.aishang.ctlcdn.com/00000110240071_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_gs,"甘肃卫视","/live.aishang.ctlcdn.com/00000110240034_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_yn,"云南卫视","/live.aishang.ctlcdn.com/00000110240082_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_nx,"宁夏卫视","/live.aishang.ctlcdn.com/00000110240061_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_xz,"西藏卫视","/live.aishang.ctlcdn.com/00000110240076_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_shx,"陕西卫视","/live.aishang.ctlcdn.com/00000110240066_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_xj,"新疆卫视","/live.aishang.ctlcdn.com/00000110240079_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_qh,"青海卫视","/live.aishang.ctlcdn.com/00000110240063_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_chcjt,"CHC家庭影院","/live.aishang.ctlcdn.com/00000110240269_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_chcdz,"CHC动作电影","/live.aishang.ctlcdn.com/00000110240270_1/encoder/0/playlist.m3u8"));
////        beans.add(getLiveBean(R.drawable.tv_chcdz,"CHC高清电影","http://115.233.62.23/live.aishang.ctlcdn.com/00000110240266_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_chcgq,"CHC高清电影","/live.aishang.ctlcdn.com/00000110240266_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_bt,"新疆兵团卫视","/live.aishang.ctlcdn.com/00000110240280_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_xm,"厦门卫视","/live.aishang.ctlcdn.com/00000110240159_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_kaku,"卡酷卡通","/live.aishang.ctlcdn.com/00000110240051_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_ffws,"凤凰卫视中文台","http://110.77.0.182:1935/dvr/1008.stream/playlist.m3u8?DVR"));
//        beans.add(getLiveBean(R.drawable.tv_ffzx,"凤凰卫视咨询台","http://110.77.0.182:1935/dvr/1009.stream/playlist.m3u8?DVR"));
//        beans.add(getLiveBean(R.drawable.tv_xk,"星空卫视","http://110.77.0.182:1935/dvr/1010.stream/playlist.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_tvb8,"TVB8","http://110.77.0.182:1935/dvr/1013.stream/playlist.m3u8?DVR"));
////        beans.add(getLiveBean(R.drawable.tv_zt,"中天综合","http://220.128.208.114/CtiGrence.m3u8"));
//        beans.add(getLiveBean(R.drawable.tv_lh,"莲花卫视","http://ktv039.cdnak.ds.kylintv.net/nlds/kylin/lotustv/as/live/lotustv_4.m3u8"));

        beans.add(getLiveBean("动作电影","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_dzdy_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1"));
        beans.add(getLiveBean("电影","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_movie_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1 "));
        beans.add(getLiveBean("周星驰","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_zxc_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1"));
        beans.add(getLiveBean("成龙","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_cl_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1"));
        beans.add(getLiveBean("喜剧","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_comedy_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1"));
//        beans.add(getLiveBean("金鹰卡通","/live.aishang.ctlcdn.com/00000110240050_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("先锋乒羽","/live.aishang.ctlcdn.com/00000110240274_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV中国微电影","/live.aishang.ctlcdn.com/00000110240264_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("香港电影","http://live.gslb.letv.com/gslb?stream_id=lb_hkmovie_1300&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=letv&expect=1"));
//        beans.add(getLiveBean("综艺频道","http://live.gslb.letv.com/gslb?stream_id=lb_ent_1300&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=letv&expect=1"));
//        beans.add(getLiveBean("高清音乐","http://live.gslb.letv.com/gslb?stream_id=lb_music_1300&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=letv&expect=1"));
//        beans.add(getLiveBean("儿歌","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_erge_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1"));
//        beans.add(getLiveBean("LIVE生活","http://live.gslb.letv.com/gslb?tag=live&stream_id=lb_livemusic_720p&tag=live&ext=m3u8&sign=live_tv&platid=10&splatid=1009&format=C1S&expect=1"));
//        beans.add(getLiveBean("CCTV-1HD","/live.aishang.ctlcdn.com/00000110240127_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-3HD","/live.aishang.ctlcdn.com/00000110240245_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-5HD","http://220.194.207.26/livehls1-cnc.wasu.cn/hd_cctv5/z.m3u8"));
//        beans.add(getLiveBean("CCTV-5+","/live.aishang.ctlcdn.com/00000110240128_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-6HD","/live.aishang.ctlcdn.com/00000110240247_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-7HD","/live.aishang.ctlcdn.com/00000110240248_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-8HD","/live.aishang.ctlcdn.com/00000110240249_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-9HD","/live.aishang.ctlcdn.com/00000110240250_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-10HD","/live.aishang.ctlcdn.com/00000110240251_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-12HD","/live.aishang.ctlcdn.com/00000110240252_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CCTV-14HD","/live.aishang.ctlcdn.com/00000110240253_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("湖南卫视HD","/live.aishang.ctlcdn.com/00000110240130_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("广东卫视HD","/live.aishang.ctlcdn.com/00000110240137_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("辽宁卫视HD","/live.aishang.ctlcdn.com/00000110240255_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("湖北卫视HD","/live.aishang.ctlcdn.com/00000110240135_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("天津卫视HD","/live.aishang.ctlcdn.com/00000110240136_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("安徽卫视HD","/live.aishang.ctlcdn.com/00000110240256_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("江苏卫视HD","/live.aishang.ctlcdn.com/00000110240133_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("浙江卫视HD","/live.aishang.ctlcdn.com/00000110240134_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("山东卫视HD","/live.aishang.ctlcdn.com/00000110240254_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("深圳卫视HD","/live.aishang.ctlcdn.com/00000110240004_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("北京卫视HD","/live.aishang.ctlcdn.com/00000110240129_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("黑龙江卫视HD","/live.aishang.ctlcdn.com/00000110240131_1/encoder/1/playlist.m3u8"));
//        beans.add(getLiveBean("CHC高清电影","/live.aishang.ctlcdn.com/00000110240266_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV收视指南","/live.aishang.ctlcdn.com/00000110240225_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV相声小品","/live.aishang.ctlcdn.com/00000110240006_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV谍战剧场","/live.aishang.ctlcdn.com/00000110240003_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV经典电影","/live.aishang.ctlcdn.com/00000110240090_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV魅力时尚","/live.aishang.ctlcdn.com/00000110240091_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV少儿动画","/live.aishang.ctlcdn.com/00000110240092_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV野外","/live.aishang.ctlcdn.com/00000110240095_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV法治","/live.aishang.ctlcdn.com/00000110240096_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV游戏竞技","/live.aishang.ctlcdn.com/00000110240257_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV-3+","/live.aishang.ctlcdn.com/00000110240093_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV-5+","/live.aishang.ctlcdn.com/00000110240094_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV-6+","/live.aishang.ctlcdn.com/00000110240007_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV-8+","/live.aishang.ctlcdn.com/00000110240125_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("中华美食","/live.aishang.ctlcdn.com/00000110240271_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("新动漫","/live.aishang.ctlcdn.com/00000110240272_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("财富天下","/live.aishang.ctlcdn.com/00000110240148_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("辽宁网络棋牌","/live.aishang.ctlcdn.com/00000110240273_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("IPTV热播剧场","/live.aishang.ctlcdn.com/00000110240089_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("嘉佳卡通","/live.aishang.ctlcdn.com/00000110240087_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("湖北母婴健康","/live.aishang.ctlcdn.com/00000110240258_1/encoder/0/playlist.m3u8"));
//        beans.add(getLiveBean("韩国中央台","http://122.202.129.136:1935/live/ch5/playlist.m3u8"));
//        beans.add(getLiveBean("亚洲联合卫视","http://tv.unbtv.tv/app_2/ls_1.stream/playlist.m3u8"));
//        beans.add(getLiveBean("唐人电视台","http://174.127.67.246/live400/playlist.m3u8"));
//        beans.add(getLiveBean("华语电视1","http://ktv015.cdnak.ds.kylintv.net/nlds/kylin/hyds/as/live/hyds_4.m3u8"));
//        beans.add(getLiveBean("华夏电视台","http://ktv026.cdnak.ds.kylintv.net/nlds/kylin/cathaytv/as/live/cathaytv_4.m3u8"));
//        beans.add(getLiveBean("高清影院11","http://dlhls.cdn.zhanqi.tv/zqlive/20910_uUMgC.m3u8"));
//        beans.add(getLiveBean("高清影院17","http://dlhls.cdn.zhanqi.tv/zqlive/33765_6qakZ.m3u8"));
//        beans.add(getLiveBean("新华社中文台","http://mobile.xinhuashixun.com/Live/cncHD.m3u8"));
        return beans;
    }

    public static LiveBean getLiveBean(String title,String path) {
        LiveBean bean = new LiveBean();
        bean.setTitle(title);
        bean.setPath(path);
        return bean;
    }

    public static LiveBean getLiveBean(int res,String title,String path) {
        LiveBean bean = new LiveBean();
        bean.setTitle(title);
        bean.setPath(path);
        bean.setRes(res);
        return bean;
    }

}
